﻿#region NeoPatterns
// 
// NeoPatterns framework is released under LGPLv3 license.
// See http://www.opensource.org/licenses/lgpl-3.0.html for more details.
// 
// Please visit http://neopatterns.wikidot.com for more information about NeoPatterns
// 
// Copyright (c) Pascal Craponne 2008
// 
#endregion

using AttributeConsole.Contract;
using NeoPatterns.Patterns.IoC;

// this is here for sample. It should be placed in AssemblyInfo.cs
[assembly: ObjectsAssembly]

namespace AttributeConsole.Service
{
    /// <summary>
    /// Simple service sample
    /// </summary>
    [Object("SimpleService")]
    public class SimpleService : IService
    {
        /// <summary>
        /// Returns the string as lower case
        /// </summary>
        /// <param name="str"></param>
        /// <returns></returns>
        public string MakeLower(string str)
        {
            return str.ToLower();
        }
    }
}